package com.huawei.appgallery.search.ui.cardbean;

import com.huawei.appgallery.foundation.card.base.bean.BaseDistCardBean;
import com.huawei.appgallery.search.ui.bean.HotWordInfo;
import java.util.LinkedHashMap;
import java.util.List;
import o.cux;
import o.dgh;
import o.CollectCheck;

public class HotWordCardBean extends BaseDistCardBean {
    private static final long serialVersionUID = -7512983427370741820L;
    private List<HotWordInfo> avalibleList;
    private String labelTitle_;
    private List<HotWordInfo> list_;
    private int maxRows_;
    private int selectedIndex = -1;

    public List<HotWordInfo> ˊ() {
        return this.list_;
    }

    public int ॱ() {
        return this.selectedIndex;
    }

    public void ʽ(int i) {
        this.selectedIndex = i;
    }

    public String ʽ() {
        return ꞌ() == null ? "" : ꞌ().ˏ();
    }

    public String ꜟ() {
        return ꞌ() == null ? "" : ꞌ().ॱ();
    }

    public String ꜞ() {
        return ꞌ() == null ? "" : ꞌ().ˋ();
    }

    private HotWordInfo ꞌ() {
        if (CollectCheck.isEmpty(ᶥ()) || ᶥ().size() < this.selectedIndex) {
            return null;
        }
        return (HotWordInfo) ᶥ().get(this.selectedIndex);
    }

    public int ㆍ() {
        return this.maxRows_;
    }

    public String ꓸ() {
        return this.labelTitle_;
    }

    public List<HotWordInfo> ᶥ() {
        return this.avalibleList;
    }

    public void ˎ(List<HotWordInfo> list) {
        this.avalibleList = list;
    }

    public String ˋ() {
        return "hotwordcard";
    }

    public boolean ˋ(int i) {
        return super.ˋ(i);
    }

    public void ˊ(String str, String str2) {
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        linkedHashMap.put("layoutId", ॱˉ());
        linkedHashMap.put("serviceType", str);
        linkedHashMap.put("tabId", str2);
        dgh.ˋ("250303", linkedHashMap);
        cux.ˏ.ˋ("HotWordCardBean", "refreshBtnAnalytic, layoutId = " + ॱˉ() + ", tabId = " + str2 + " serviceType = " + str);
    }
}
